//
//  SocketManager.h
//  emyone
//
//  Created by LiangLigeng on 13-12-9.
//  Copyright (c) 2013年 LiangLigeng. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "GCDAsyncSocket.h"

@interface SocketManager : NSObject
{
    BOOL isConnected;
}

@property(nonatomic,retain)GCDAsyncSocket *asyncSocket;
@property(nonatomic,copy)NSString *token;
@property(nonatomic,copy)NSTimer *heartbeat;//心跳计时器
@property(nonatomic,copy)NSTimer *reconnect;//重连计时器

+(SocketManager *)shareInstance;

-(void)sendMsg:(NSString *)msgString;
@end
